﻿@model List<BDShop.Entities.Brand>
@using BDShop.Utilities.Managers
@using BDShop.Configuration

<section id="carousel">
    <ul class="jcarousel-skin-opencart">
        @foreach (var brand in Model)
        {
            var url = UrlManager.ProductOfBrandUrl(brand.ID, brand.Name);
            
            <li><a href="@url">
            <img class="lazy" data-original="@Path.Combine(BDShopConfiguration.Storage.MainImagePath, (brand.Image==null)?"brand_logo.jpg":brand.Image)" src="@Path.Combine(BDShopConfiguration.Storage.MainImagePath,  (brand.Image==null)?"brand_logo.jpg":brand.Image)" alt="@brand.Name" title="@brand.Name" /></a></li>
        }
    </ul>
</section>
